module.exports = {
  title: 'my_markdown',
  description: '记录这些年的笔记以及遇到的问题',
  base: '/my_markdown/', //和Gitee仓库地址一致
  // theme: 'theme-mode-dark',
  themeConfig: {
    // logo: '/assets/img/logo.png',
    sidebar: 'auto',
    lastUpdated: '更新时间',
    nav: [
      {
        text: '我的CSDN',
        link: 'https://blog.csdn.net/weixin_65321799?spm=1000.2115.3001.5343',
        target: '_blank',
        rel: '',
      },
      { text: '我的掘金', link: '#', target: '_blank' },
      { text: 'gitee码云仓库', link: 'https://gitee.com/heliangcheng', target: '_blank' },
    ],
    sidebar: [
      // 首页
      {
        title: '网站简介',
        path: '/',
        collapsable: true, // 是否折叠
      },
      // JavaScript
      {
        title: 'JavaScript',
        path: '/myMarkdown/javaScript/javascriptHigh',
        collapsable: true,
        children: [
          {
            title: 'javaScript高级',
            path: '/myMarkdown/javaScript/javascriptHigh',
            collapsable: true,
          },
          {
            title: 'es6语法',
            path: '/myMarkdown/javaScript/es6',
            collapsable: true,
          }
        ]
      },
      // Node
      {
        title: 'Node',
        path: '/myMarkdown/node/',
        collapsable: true,
      },
      // Vue
      {
        title: 'Vue',
        path: '/myMarkdown/vue/vue2',
        collapsable: true, // 是否折叠
        children: [
          {
            title: 'Vue2',
            path: '/myMarkdown/vue/vue2',
            collapsable: true,
          },
          {
            title: 'Vue3',
            path: '/myMarkdown/vue/vue3',
            collapsable: true,
          },
        ],
      },
      // React
      {
        title: 'React',
        path: '/myMarkdown/react/',
        collapsable: true,
      },
      // uniApp
      {
        title: 'uniApp',
        path: '/myMarkdown/uniapp/',
        collapsable: true,
      },
      // C语言
      {
        title: 'C语言',
        path: '/myMarkdown/C/',
        collapsable: true,
      },
      // 项目
      {
        title: '项目一些笔记',
        path: '/myMarkdown/project/studentSystem',
        collapsable: true,
        children: [
          {
            title: '学生信息管理系统',
            path: '/myMarkdown/project/studentSystem',
            collapsable: true,
          },
          {
            title: '紫馨商城',
            path: '/myMarkdown/project/shopping',
            collapsable: true,
          },
          {
            title: '手机品牌管理',
            path: '/myMarkdown/project/phoneSystem',
            collapsable: true,
          }
        ]
      },
      // 工作中所遇问题
      {
        title: '工作所遇问题',
        path: '/myMarkdown/workMeetError/',
        collapsable: true,
      },
      // VScode插件
      {
        title: 'VScode自用插件',
        path: '/myMarkdown/vscodePlug/',
        collapsable: true,
      },
    ],
    sidebarDepth: 2, // 控制最大深度
    displayAllHeaders: false, // 控制所有菜单是否展开 默认值：false
  },
};
